libxc: add support for FreeBSD
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 2 Jun 2014 15:08:11 +0000 (17:08 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Jun 2014 16:17:49 +0000 (17:17 +0100)
commitd2ee2e3846f9b2577d2387fef82dad563cdd1c9a
tree188e33d0080162283067a81eaecd861e587dd649
parentb6e37a1c7a5f356cf7284702ff246307d7a32a9e
libxc: add support for FreeBSD

Add the FreeBSD implementation of the privcmd and evtchn devices
interface.

The evtchn device interface is the same as the Linux one, while the
privcmd map interface is simplified because FreeBSD only supports
IOCTL_PRIVCMD_MMAPBATCH.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/Makefile
tools/libxc/xc_freebsd.c [new file with mode: 0644]
tools/libxc/xc_freebsd_osdep.c [new file with mode: 0644]